const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // 处理用户信息
  token: state => state.user.token,
  userId: state => state.user.UserInfo.userId,
  username: state => state.user.UserInfo.username,
  staffPhoto: state => state.user.UserInfo.staffPhoto,
  companyId: state => state.user.UserInfo.companyId,
  menus: state => state.user.UserInfo.roles.menus,
  points: state => state.user.UserInfo.roles.points
  // token: state => state.user.token,
  // avatar: state => state.user.avatar,
  // name: state => state.user.name
}
export default getters
